<template>
  <div id="app">
    <div class="app-left">
      <Nav></Nav>
    </div>
    <div class="app-right">
      <router-view />
    </div>
  </div>
</template>

<script setup lang="ts">
import Nav from "@/components/nav/index.vue";
</script>

<style lang="less">
* {
  margin: 0;
  padding: 0;
}
#app {
  height: 100%;
  background-color: #f3f4f7;
  display: flex;
  justify-content: space-between;
}

::-webkit-scrollbar {
  width: 6px;
}

/* 滚动槽 */
::-webkit-scrollbar-track {
  border-radius: 10px;
}

/* 滚动条滑块 */
::-webkit-scrollbar-thumb {
  border-radius: 5px;
  background-color: rgba(144, 147, 153, 0.3);
  -webkit-transition: 0.3s background-color;
  transition: 0.3s background-color;
}

.app-left {
  width: 10vw;
  height: 100vh;
}
.app-right {
  width: calc(90vw);
  height: 100vh;
}
</style>
